<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>09xg4 活动报名-活动信息-{{act["caption"]}}</title>
    </head>
    <body>
        <h2>{{act["caption"]}}</h2>
        <p>{{act["content"]}}</p>
        <p><span>名额：</span>{{act["amount"]}}</p>
        <p><span>报名截止时间：</span>{{act["endtime"]}}</p>
        <p>
            <span>已报名 {{len(act["appliers"])}} 人</span>
            {% if act["appliers"] %}
            <select name="applied" id="applied" value="">
                {% for applier in act.get("appliers", {}) %}
                <option>{{applier}}</option>
                {% end %}
            </select>
            {% end %}
        </p>
        <p>
            {% if not is_ended(act) %}
            <a href="/{{act["uuid"]}}/apply">[报名]</a>
            {% else %}
            <a href="/{{act["uuid"]}}/result">[结果]</a>
            {% end %}
            <a href="/">[返回]</a>
        </p>
    </body>
</html>